users.users.<name>.shell

The user's shell. This defaults to null.

When this is set to null, if the user has not been created yet, they will be created with the shell /usr/bin/false to prevent interactive login. If the user already exists, the value is considered managed by macOS and nix-darwin will not change it.

Type
null or package or absolute path
Default
null
Example
pkgs.bashInteractive
Declared
<nix-darwin/modules/users>